package com.itheima.scanner;

import java.util.Scanner;

public class ScannerDemo1 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入字符串");
        String name=sc.nextLine();
        System.out.println(name);
        System.out.println("请输入字符串");
        String name1=sc.nextLine();
        System.out.println(name1);
    }
}
